<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
       "use strict";//作用在这里和func里面的内容
       function func(){
          let web="sss";
           console.log(web);
           function func1(){
               web ="sss_func1"; //use strict 的作用域还没有这么广
               console.log(web);
           }
           func1();
       }
       func();
    
    </script>
</body>
</html>